home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19970326-19970626
/
000170_news@newsmaster….columbia.edu _Tue May 6 13:51:55 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
4KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA28014
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 6 May 1997 13:51:50 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA21205
for kermit.misc@watsun; Tue, 6 May 1997 13:51:50 -0400 (EDT)
From: arthur@gateway.dircsa.org.au (Arthur Marsh)
Newsgroups: comp.protocols.kermit.misc
Subject: serial - network - serial connection
Date: 7 May 1997 03:13:23 +0930
Organization: DIRC - Disability Information & Resource Centre - Sth Australia
Lines: 88
Message-ID: <5knqjr$q1n@gateway.dircsa.org.au>
NNTP-Posting-Host: apache.dircsa.org.au
X-Newsreader: TIN [version 1.1 PL8]
Path: news.columbia.edu!panix!news.mathworks.com!europa.clark.net!feed1.news.erols.com!news.ecn.uoknor.edu!munnari.OZ.AU!news.mel.connect.com.au!news.ade.connect.com.au!duster.adelaide.on.net!news.camtech.net.au!news.dircsa.org.au!news.dircsa.org.au!not-for-mail
Xref: news.columbia.edu comp.protocols.kermit.misc:6994
Hi, I'm trying to set up a serial - network - serial connection using
C-Kermit 6.0.192 and UnixWare 1.1.2. The object is to get an 8-bit
transparent connection that goes away when either serial connection closes,
and successfully tranfers data otherwise.
I'm trying everything on the one machine to begin with:
First serial connection (controling terminal):
Logs on, runs the following script:
NOPUSH
SET CARRIER ON 1
SET COMMAND BYTESIZE 8
SET EXIT WARNING OFF
SET QUIET ON
SET TERMINAL AUTODOWNLOAD OFF
SET TERMINAL BYTESIZE 8
SET TERMINAL CHARACTER-SET TRANSPARENT
SET TERMINAL ESCAPE DISABLED
SET TERMINAL APC OFF
SET PARITY NONE
SET NETWORK TCP/IP
SET TELNET BINARY REQUESTED
SET TELNET BUG BINARY-ME-MEANS-U-TOO ON
SET HOST LOCALHOST
CONNECT
stty -a output on the controlling terminal when using the above except
push enabled, and push'd to the shell:
speed 38400 baud;
intr = ^c; quit = ^|; erase = ^h; kill = ^u;
eof = ^d; eol = <undef>; eol2 = <undef>; swtch = <undef>;
start = ^q; stop = ^s; susp = ^z; dsusp = <undef>;
rprnt = ^r; flush = ^o; werase = ^w; lnext = ^v;
-parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -parext
-ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
-ixon -ixany -ixoff -imaxbel
isig icanon -xcase echo echoe echok -echonl -noflsh
-tostop -echoctl -echoprt -echoke -defecho -flusho -pendin -iexten
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tab3
rtsxoff ctsxon -dtrxoff -cdxon -isxoff xcibrg rcibrg tsetcoff rsetcoff
-isscancode
Stallion bccstty -v -d /dev/tty0 output on the controlling terminal:
(board=0,panel=0,major=98,minor=128,stubindex=0)
rtslock ctslock -maprts -mapcts -dtrfollow -fakedcd
-modem onboard -ioctlwait timeout=60 -rxthold -halfstop -loopback
baudfrom=0 baudto=0
(device is not a session errno=5)
A login is performed that runs the following kermit script (leaving out
error-checking):
NOPUSH
SET CARRIER ON 1
SET COMMAND BYTESIZE 8
SET EXIT WARNING OFF
SET QUIET ON
SET TERMINAL AUTODOWNLOAD OFF
SET TERMINAL BYTESIZE 8
SET TERMINAL CHARACTER-SET TRANSPARENT
SET TERMINAL ESCAPE DISABLED
SET TERMINAL APC OFF
SET PARITY NONE
set line /dev/tty2
hangup
hangup
set line /dev/tty2
SET SPEED 19200
SET FLOW RTS/CTS
pause 1
output \13
connect
clear
hangup
hangup
quit
This appears to generally work, allowing 8-bit transparent connections with
adequate flow control, but I'm open to suggestions on improving it.
--
Arthur Marsh, telephone +61-8-8370-2365, fax +61-8-8223-5082
arthur@dircsa.org.au
.endofsig